package cn.codingxiaxw.dto;

/**
 * @author jiangwz
 * @create 2019/9/21.
 */
public class SecKillMsg {

    private long secKillId;

    private String md5;

    private long phone;

    private String id;

    public SecKillMsg(long secKillId, String md5, long phone) {
        this.secKillId = secKillId;
        this.md5 = md5;
        this.phone = phone;
    }

    public long getSecKillId() {
        return secKillId;
    }

    public SecKillMsg setSecKillId(long secKillId) {
        this.secKillId = secKillId;
        return this;
    }

    public String getMd5() {
        return md5;
    }

    public SecKillMsg setMd5(String md5) {
        this.md5 = md5;
        return this;
    }

    public long getPhone() {
        return phone;
    }

    public SecKillMsg setPhone(long phone) {
        this.phone = phone;
        return this;
    }

    public String getId() {
        return id;
    }

    public SecKillMsg setId(String id) {
        this.id = id;
        return this;
    }

    @Override
    public String toString() {
        return "SecKillMsg{" +
                "seckillId=" + secKillId +
                ", md5='" + md5 + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
